<template>
 <view class="p32">
    <view class="u-demo-block__content">
      <view class="u-page__tag-item">
        <u-search v-model="keyword" @custom="searchGoods"></u-search>
      </view>
    </view>
 </view>
</template>

<script>
export default {
  data() {
   return {
     keyword: ''
   }
  },
  methods: {
    /**
     * 搜索商品
     */
    searchGoods(value) {
      console.log(value)
      this.$u.route({
        url: 'pages/result/index?keyword=' + this.keyword 
      })
    }
  }
}
</script>

<style scoped lang="scss">

</style>